//
//  FilterViewController.h
//  ShoppingExperience
//
//  Created by LiYinDi on 15/10/23.
//  Copyright (c) 2015年 RuiBen. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol FilterViewControllerDelegate;
@interface FilterViewController : UIViewController
//orderFilterViewContainer
@property(nonatomic,weak) id<FilterViewControllerDelegate> delegate;
@property(weak, nonatomic)IBOutlet UIView *inputFilterView;
@property(weak, nonatomic)IBOutlet UIButton *orderFilterAlphaView;
@property(weak, nonatomic)IBOutlet UIScrollView *orderFilterMainView;

@property(weak, nonatomic)IBOutlet UIButton *confirmFilterBtn;

@property(weak, nonatomic)IBOutlet UIView *customTimeView;
@property(weak, nonatomic)IBOutlet UITextField *customStartTime;
@property(weak, nonatomic)IBOutlet UITextField *customEndTime;
@property(weak, nonatomic)IBOutlet UIView *dateView;
@property(weak, nonatomic)IBOutlet UIDatePicker *datePicker;
@property(weak, nonatomic)IBOutlet UIButton *customSureBtn;

//tableViewView
@property(weak, nonatomic)IBOutlet UIView *tableViewViewContainer;
@property(weak, nonatomic)IBOutlet UIView *tableMainView;
@property(weak, nonatomic)IBOutlet UIButton *tableAlphaView;
@property(weak, nonatomic)IBOutlet UITableView *filterTableView;
@property(weak, nonatomic)IBOutlet UILabel *filterTitleLabel;

@property(nonatomic,strong)NSMutableArray *selectCustomTimeArray ;
@property(nonatomic,strong)NSMutableArray *selectFilterNameArray;
@property(nonatomic,strong)NSString *isDefault;
@property(nonatomic,strong)NSString *startTimeStr;
@property(nonatomic,strong)NSString *endTimeStr;
@property(nonatomic,strong)NSString *docTypeStr;

@end
@protocol FilterViewControllerDelegate <NSObject>
@optional
-(void)confirmFilterBtnClick:(NSMutableArray *)commonFilterTypeCodeArray commonSelectFilterCodeArray:(NSMutableArray *)commonSelectFilterCodeArray commonInputFilterCodeArray:(NSMutableArray *)commonInputFilterCodeArray commonInputMinResultFilterNameArray:(NSMutableArray *)commonInputMinResultFilterNameArray commonInputMaxResultFilterNameArray:(NSMutableArray *)commonInputMaxResultFilterNameArray commonCustomTimeFilterTypeCodeArray:(NSMutableArray *)commonCustomTimeFilterTypeCodeArray commonSelectCustomTimeArray:(NSMutableArray *)commonSelectCustomTimeArray commonSelectFilterNameArray:(NSMutableArray *)commonSelectFilterNameArray  commonStartTimeStr:(NSString *)commonStartTimeStr commonEndTimeStr:(NSString *)commonEndTimeStr isDefault:(NSString *)isDefault;

@end
